﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HexagonWeb.Models;

namespace HexagonWeb.IBIL
{
    public interface InterfaceTicketService : InterfaceBaseService<Ticket>
    {
        //根据PNR查找机票
        Ticket Find(string  pnr);

        //根据UserID查找机票列表
        IQueryable<Ticket> FindByUserID(int UserID, int pageIndex, int pageSize, out int totalRecord, int order);

        //根据AirlineID查找列表
        IQueryable<Ticket> FindByAirlineID(int AirlineID, int pageIndex, int pageSize, out int totalRecord, int order);
    }
}